// WindowSizeOption.h: interface for the CWindowSizeOption class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_WINDOWSIZEOPTION_H__DCC965CF_809A_4BCB_8CBE_BA1548900818__INCLUDED_)
#define AFX_WINDOWSIZEOPTION_H__DCC965CF_809A_4BCB_8CBE_BA1548900818__INCLUDED_

#include "TelnetOption.h"
//#include "SocketLayer.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CWindowSizeOption : public CTelnetOption
{
private:
	void AnswerWindowSize(unsigned short cols, unsigned short rows);

public:
	virtual void SetParameters(const char* buf, int bufLen);
	virtual void OnUsChange();

public:
	//enum { NAWS = 31 };
	CWindowSizeOption(ITelnetDataSender *pTelnetDataSender, CTelnetOptionEvents *pEvents) : CTelnetOption(pTelnetDataSender, NAWS, pEvents)
	{

	}
};

#endif // !defined(AFX_WINDOWSIZEOPTION_H__DCC965CF_809A_4BCB_8CBE_BA1548900818__INCLUDED_)
